﻿@model BG.Web.ViewModels.LogOnModel

<title>@Model.ApplicationSetting.sApplicationName</title>
<!--  jquery core -->
<script src="@Url.Content("~/Scripts/jquery-1.8.2.min.js")" type="text/javascript"></script>

<!-- Custom jquery scripts -->
<script src="@Url.Content("~/Scripts/core/custom_jquery.js")" type="text/javascript"></script>


<!-- MUST BE THE LAST SCRIPT IN <HEAD></HEAD></HEAD> png fix -->
<script src="@Url.Content("~/Scripts/core/jquery.pngFix.pack.js")" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
        $(document).pngFix();
    });
</script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@Assets.Theme("core")

@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")



@using (Html.BeginForm())
{
<body id="login-bg"> 
    <!-- Start: login-holder -->
                                                                                                                                                                                                                                                                                                        <div id="login-holder">

	<!-- start logo -->
	<div id="logo-login">
		<a href="/"><img src="../images/logo.png" width="170" height="100" alt="" /></a>
	</div>
	<!-- end logo -->
	
	<div class="clear"></div>
	
	<!--  start loginbox ................................................................................. -->
	<div id="loginbox">
	
	<!--  start login-inner -->
	<div id="login-inner">
		<table border="0" cellpadding="0" cellspacing="0">
		<tr>
			<th>Username</th>
			<td>
                @Html.TextBoxFor(m => m.UserName, new { @class = "login-inp" })
                @Html.ValidationMessageFor(m => m.UserName)
            </td>
		</tr>
		<tr>
			<th>Password</th>
			<td>
                @Html.PasswordFor(m => m.Password, new { @class = "login-inp" })
                @Html.ValidationMessageFor(m => m.Password)
            </td>
		</tr>
		<tr>
			<th></th>
			<td valign="top">
          @*  <input type="checkbox" class="checkbox-size" id="login-check" /><label for="login-check">Remember me</label>*@
                @Html.CheckBoxFor(m => m.RememberMe, new { @id = "login-check", @class = "checkbox-size" })
                @Html.LabelFor(m => m.RememberMe)
            </td>
		</tr>
		<tr>
			<th></th>
			<td><input type="submit" class="submit-login"  /></td>
		</tr>
		</table>
	</div>
 	<!--  end login-inner -->
	<div class="clear"></div>
	<a href="" class="forgot-pwd">Forgot Password?</a>
 </div>
    <!--  end loginbox -->
 
	<!--  start forgotbox ................................................................................... -->
	<div id="forgotbox">
		<div id="forgotbox-text">Please send us your email and we'll reset your password.</div>
		<!--  start forgot-inner -->
		<div id="forgot-inner">
		<table border="0" cellpadding="0" cellspacing="0">
		<tr>
			<th>Email address:</th>
			<td>
                @Html.TextBoxFor(m => m.EmailAddress, new { @class = "login-inp" })
                @Html.ValidationMessageFor(m => m.EmailAddress)
            </td>
		</tr>
		<tr>
			<th> </th>
			<td><input type="submit" class="submit-login"  /></td>
		</tr>
		</table>
		</div>
		<!--  end forgot-inner -->
		<div class="clear"></div>
		<a href="" class="back-login">Back to login</a>
	</div>
	<!--  end forgotbox -->

    </div>
    <!-- End: login-holder -->
</body>
}

